package where2go.sctu.com.zhiyou.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import where2go.sctu.com.zhiyou.R;

/**
 * Created by lenovo on 2018/5/31.
 */

public class MyAboutActivity extends AppCompatActivity implements View.OnClickListener{
    private ImageView imageView;
    private LinearLayout lines;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.my_about_us);
        itemView();
        imageView = (ImageView) findViewById(R.id.image_about_us);
        imageView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    private void itemView() {
        lines=(LinearLayout)findViewById(R.id.function);
        lines.setOnClickListener( this);
    }
    public void onClick(View v) {
        switch (v.getId()){
            case  R.id.function:
                Intent intent=new Intent();
                intent.setClass(getApplication(),FunctionIntroductionActivity.class);
                startActivity(intent);
                break;
        }
    }

}
